package com.ihk.model;

public class UserLocation{

    private static UserLocation instance;
    
    private double latitude;
    private double longitude;
    
    private boolean gpsEnable;

	public static UserLocation getInstance(){
        if (null == instance) {
            instance = new UserLocation();
        }
        return instance;
    }
	
    private UserLocation(){
    	setGpsEnable(true);
    	latitude = 55.679133;
    	longitude = 12.579002;
    }
    
	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public boolean isGpsEnable() {
		return gpsEnable;
	}

	public void setGpsEnable(boolean gpsEnable) {
		this.gpsEnable = gpsEnable;
	}
}
